﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="use_api.aspx.cs" Inherits="视频流媒体管理.use_api" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
        .auto-style2 {
            height: 34px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:TextBox ID="txtInfo" runat="server" Width="1212px"></asp:TextBox>
            <br />
            <asp:TextBox ID="txthost" runat="server" Width="1212px">http://127.0.0.1:10086/</asp:TextBox>
            <br />
            <asp:TextBox ID="txtToken" runat="server" Width="1212px"></asp:TextBox>
        </div>
        <table class="auto-style1">
            <tr>
                <td>
            <asp:Button runat="server" Text="登录" ID="btn登录" OnClick="btn登录_Click" Width="80px" Enabled="False"></asp:Button>
            <asp:Button runat="server" Text="退出登录" ID="btn退出登录" OnClick="btn退出登录_Click" Width="80px" Height="21px" Enabled="False"></asp:Button>
                </td>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>
                    <asp:TextBox ID="txt用户id" runat="server">admin</asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="口令"></asp:Label>
                    <asp:TextBox ID="txt口令" runat="server">admin</asp:TextBox>
                </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
            <asp:Button runat="server" Text="查看直播链接" ID="btn取得直播列表" OnClick="btn取得直播列表_Click" Width="119px" Height="30px"></asp:Button>
            <asp:Button runat="server" Text="查看指定ID直播链接" ID="btn取得直播列表0" OnClick="btn取得直播列表0_Click" Width="138px" Height="30px"></asp:Button>
                    <asp:TextBox ID="txt直接ID" runat="server">100</asp:TextBox>
                </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
            <asp:Button runat="server" Text="打开/关闭流" ID="btn打开关闭直播" OnClick="btn打开关闭直播_Click" Width="138px" Height="30px"></asp:Button>
                    <asp:TextBox ID="txt直播开头" runat="server">true</asp:TextBox>
                </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
            <asp:Button runat="server" Text="新增直播" ID="btn新增直播" OnClick="btn新增直播_Click" Width="138px" Height="30px"></asp:Button>
                    <asp:TextBox ID="txt摄像机ID" runat="server">1200</asp:TextBox>
                    <asp:TextBox ID="txt摄像机名" runat="server">大门口</asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="txt直接源" runat="server" Width="508px">rtsp://admin:BwbMj@2020.6@10.136.109.89:554/Streaming/Channels/101</asp:TextBox>
                </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style2">
            <asp:Button runat="server" Text="删除直播" ID="btn删除直播" OnClick="btn删除直播_Click" Width="138px" Height="30px"></asp:Button>
                </td>
                <td class="auto-style2"></td>
                <td class="auto-style2"></td>
                <td class="auto-style2"></td>
                <td class="auto-style2"></td>
                <td class="auto-style2"></td>
            </tr>
            <tr>
                <td>
            <asp:Button runat="server" Text="新增xls直播" ID="btn新增直播xls" OnClick="btn新增直播xls_Click" Width="138px" Height="30px"></asp:Button>
                    </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView>
    </form>
</body>
</html>
